package com.ghsc.ghxc.jsb.ui.my.bean

import androidx.annotation.DrawableRes
import com.contrarywind.interfaces.IPickerViewData
import java.io.Serializable

/**
 * 项目：GuoHuaJsb
 * 包名：com.ghsc.ghxc.jsb.ui.my.bean
 * 类名：MineBean
 * 创建时间：2024/4/24 11:09
 * 创建人 @author： xiaolin
 * 描述 ：Todo...
 */
data class LocalOrderMenuBean(
    @DrawableRes
    val icon:Int,
    val name:String,
    var count:Int = 0,
)

data class LocalCommonMenuBean(
    @DrawableRes
    val icon:Int,
    val name:String
)



data class UserResultDataBean(
    val `data`: UserBeanData,
    val list: List<Any>
)
data class UserBeanData(
    val area: String,
    val background: String,
    val city: String,
    val code: String,
    val dfhcnt: Int,
    val dfkcnt: Int,
    val dshcnt: Int,
    val headimg: String,
    val ifrenzheng: Int,
    val ifstranger: Int,
    val lanmu: List<Map<String,Any>>,
    val level: Int,
    val levelch: String,
    val memo: String,
    val mobile: String,
    val nickname: String,
    val paypassword: String,
    val pinpairuzhu: String,
    val province: String,
    val sfzno: String,
    val thhcnt: Int,
    val fans: Int,
    val follows: Int,
    val url: String,
    val xingming: String,
    val yshcnt: Int,
    val zichan: List<Map<String,Any>>
)

data class Lanmu(
    val 会员升级: String,
    val 品牌入驻: String
)

data class Zichan(
    val 好友: Int,
    val 积分: Double
)



data class IntegralResultData(
    val `data`: IntegralData,
    val list: List<IntegralBeanData>
)

data class IntegralData(
    val zhibiao: List<Map<String,Any>>
)
data class IntegralBeanData(
    val crt_time: String,
    val memo: String,
    val price: String,
    val status: String
)

//data class Zhibiao(
//    val 冻结积分: Double,
//    val 可用积分: Double,
//    val 待领积分: Double,
//    val 我的积分: Double
//)





data class TeamResultData(
    val `data`: Data,
    val list: List<TeamBeanData>
)

class Tk

data class Data(
    val zhibiao:  List<Map<String,Any>>
)

data class TeamBeanData(
    val crt_time: String,
    val ifrenzheng: String,
    val levelch: String,
    val mobile: String,
    val recomcnt: Int
)

data class Zhibiao(
    val 我的好友: Int,
    val 打卡好友: Int,
    val 认证好友: Int
)



data class BackCartResult(
    val `data`: BackCartData,
    val list: MutableList<BackCartDataBean>
)
data class BackCartData(
    val hidekaifu: Int
)

data class BackCartDataBean(
    val bank_name: String,
    val card_id: String,
    val card_name: String,
    val card_type: String,
    val cid: Int,
    val cust_id: String,
    val sfzno: String,
    val token_no: String,
    var isCheck: Boolean=false,
)




data class SfzNoAreaResult(
    val `data`: List<String>,
    val data2: SfzNoAreaData,
    val list: List<Any>
)


data class SfzNoAreaData(
    val ifold: Int
)




data class AddressDetailBean(
    val area: String,
    val city: String,
    val crt_time: String,
    val id: Int,
    val ifdefault: Int,
    val mobile: String,
    val name: String,
    val province: String,
    val site: String,
    val status: Int,
    val uid: String,
    val upd_time: String
): Serializable


data class AddressJsonBean(
    val children: List<Children>,
    val code: String,
    val name: String,
    val parent_code: String
): IPickerViewData {
    override fun getPickerViewText(): String {
        return name
    }
}

data class Children(
    val children: List<ChildrenX>,
    val code: String,
    val name: String,
    val parent_code: String
): IPickerViewData {
    override fun getPickerViewText(): String {
        return name
    }
}

data class ChildrenX(
    val code: String,
    val name: String,
    val parent_code: String
): IPickerViewData {
    override fun getPickerViewText(): String {
        return name
    }
}


data class OssTokenResultDataBean(
    val AccessKeyId: String,
    val AccessKeySecret: String,
    val Expiration: String,
    val SecurityToken: String,
    val StatusCode: Int,
    val bucketName: String,
    val ossHost: String,
    val rootPATH: String
)

data class LogOffResult(
    val `data`: LogOffResultBean,
)


data class LogOffResultBean(
    val buchong1: String,
    val buchong2: String,
    val tanchuang: String,
    val tiaojian: String,
    val tixing: String,
    val msg:String,
)


data class OrderBean(
    val cnt: Int,
    val daojishi: Double,
    val kdname: String,
    val kdno: String,
    val miaoshatype: Int,
    val oid: String,
    val oriprice: Double,
    val pay_price: Double,
    val price: Double,
    val shouhuo_mobile: String,
    val skuimages: String,
    val skuprice: Double,
    val skuvalue: String,
    val status: String,
    val title: String,
    val yunfei: Double
)



data class OrderDetailResult(
    val `data`: OrderDetailBean,
    val list: List<Any>
)
data class OrderDetailBean(
    val bonusprice: Double,
    val cnt: Int,
    val crt_time: String,
    val kdname: String,
    val kdno: String,
    val miaoshatype: Int,
    val oid: String,
    val oriprice: Double,
    val pay_price: Double,
    val pay_type: String,
    val pid: String,
    val price: Double,
    val saleprice: Double,
    val shouhuo_mobile: String,
    val shouhuo_name: String,
    val shouhuo_site: String,
    val skuimages: String,
    val skuprice: Double,
    val skuvalue: String,
    val status: String,
    val title: String,
    val yunfei: Double
)

data class FollowFansResult(
    val extra: Extra,
    val list: List<FollowFansBean>,
    val total: Int
)

class Extra

data class FollowFansBean(
    val headimg: String,
    var is_follow: Int,
    val nickname: String,
    val uid: String
)

data class LikeCollFollowResult(
    val `data`: LikeCollFollowResultData,
)


data class LikeCollFollowResultData(
    val flag: Int,
    val likes: String,
    val collects: String,
    val ifdianshang:Int,
)

